public class Test {
    public static void main(String[] args) {
      /*  int a = 5;
        int b = 2;
        System.out.println(a/b);*/
        /*int a = 5;
        int b = 2;
        double c = a*1.0/b;
        System.out.println(c);*/
        /*int a = 4;
        int b = 0;
        System.out.println(a/b);
        System.out.println(a%b);*/
     /*   System.out.println(11.5%2.0);//1.5*/
        /*System.out.println(1+0.2);*/
        /*int a = 2;
        a+=3;//a=a+3=5
        System.out.println(a);
        a-=1;//a=a-1=4
        System.out.println(a);
        a*=5;//a=a*5=20
        System.out.println(a);
        a/=2;//a=a/2=10
        System.out.println(a);
        a%=3;//a=a%3=1
        System.out.println(a);*/
       /* int a = 1;
        a++;//后置++，表示a的值+1，此时a=2
        System.out.println(a++);//先输出a的值，再++//此时a=2
        System.out.println(a);//3

        int b = 2;
        ++b;//前置++，表示b的值+1,此时b=3
        System.out.println(++b);//先++，再输出b//此时b=4
        System.out.println(b);//4*/

       /* int a = 10;
        int b = 20;
        System.out.println(a==b);
        System.out.println(a!=b);
        System.out.println(a>b);
        System.out.println(a<b);
        System.out.println(a>=b);
        System.out.println(a<=b);*/

        /*int a = 1;
        int b = 2;
        System.out.println(a==1&&b==2);
        System.out.println(a==1&&b>8);
        System.out.println(a>5&&b==2);
        System.out.println(a>6&&b>7);*/

       /* int a = 1;
        int b = 2;
        System.out.println(a==1||b==2);
        System.out.println(a==1||b>3);
        System.out.println(a!=1||b==2);
        System.out.println(a!=1||b>3);*/
        /*int a = 1;
        System.out.println(!(a==1));//false
        System.out.println(!(a!=1));//true*/

        /*System.out.println(10>20 & 10/0==0);
        System.out.println(10<20|10/0==0);*/
        /*int a = 10;//00001010
        int b = 20;//00010100
        System.out.println(a|b);//00011110*/
        /*int a = 0xf;
        System.out.printf("%x\n",~a);*/
     /*   int a = 10;//0000 1010
        int b = 20;//0001 0100
        System.out.println(a^b);//0001 1110

*/
        /*int a = -10;//1000 1010
        System.out.println(a>>1);//0000 0101 //5*/

        /*int a = 10;
        int b = 20;
        a>b?a:b;*/
         /* int a = 10;
        if(a % 2 == 0) {
            System.out.println("偶数");
        }else {
            System.out.println("奇数");
        }*/
        /*int year = 2022;
        if(year % 100 != 0) {
            if(year % 4 == 0) {
                System.out.println("是普通闰年！");
            }else {
                System.out.println("不是普通闰年！");
            }
        }else {
            if(year % 400 == 0) {
                System.out.println("是世纪闰年！");
            }else {
                System.out.println("不是世纪闰年！");
            }
        }*/
        /*int a = 10;
        if(a == 20);
        //此时执行这段代码 已经没有条件了
        {
            System.out.println("haha!");
        }*/
        /*int x = 10;
        int y = 10;
        if (x == 10) {
            if (y == 10) {
                System.out.println("aaa");
            }else {
                System.out.println("bbb");
            }*/

         /* System.out.println("1");
        System.out.println("3");
        System.out.println("2");
    int a = 10;
        if(a == 1) {
        System.out.println("a==1");
    }else if(a == 5){
        System.out.println("a == 5");
    }else {
        System.out.println("a != 1 && a != 5");
    }*/

      /*  int a = 2;
        int b = 20;
        int c = a + (b-a)>>1;
        System.out.println(c);*/
    }
}
